﻿@model Proggy.Data.Entities.Group
@{
    ViewBag.Title = "Create group";
}
<h2>@ViewBag.Title</h2>
<div class="proggy-form-div">
    @using (Html.BeginForm())
    {
        @:@Html.ValidationSummary(false)
        <p>
            @Html.LabelFor(x => x.GroupName)
            @Html.TextBoxFor(x => x.GroupName, new { @class = "proggy-textbox proggy-textbox-wide" })
        </p>
        <p>
            <label>
                &nbsp;</label>
            <input type="submit" class="proggy-button-go" value="Create" />
            | @Html.ActionLink("Cancel", "Groups", new { success = 5 }, new { @class = "proggy-button-stop" })
        </p>
    }
</div>
